翻訳と辞書
Words near each other
・ Internal Security Act, 1982
・ Internal Security Corps
・ Internal Security Department (Brunei)
・ Internal Security Department (Singapore)
・ Internal Security Forces
・ Internal Security Operations Command
・ Internal Security Organisation
・ Internal Security Service
・ Internal Security Unit
・ Internal security vehicle
・ Internal Services in the European Commission
・ Internal set
・ Internal set theory
・ Internal Settlement
・ Internal sin
Internal sort
・ Internal spermatic fascia
・ Internal sphincter muscle of urethra
・ Internal standard
・ Internal structure of the Moon
・ Internal Suffering
・ Internal Supervision Regulation
・ Internal thoracic artery
・ Internal thoracic vein
・ Internal thoracic vessels
・ Internal Thracian Revolutionary Organisation
・ Internal tide
・ Internal transcribed spacer
・ Internal Troops
・ Internal Troops of Azerbaijan


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Internal sort : ウィキペディア英語版
Internal sort



An internal sort is any data sorting process that takes place entirely within the main memory of a computer. This is possible whenever the data to be sorted is small enough to all be held in the main memory. For sorting larger datasets, it may be necessary to hold only a chunk of data in memory at a time, since it won’t all fit. The rest of the data is normally held on some larger, but slower medium, like a hard-disk. Any reading or writing of data to and from this slower media can slow the sortation process considerably. This issue has implications for different sort algorithms.
Some common internal sorting algorithms include:
# Bubble Sort
# Insertion Sort
# Quick Sort
# Heap Sort
# Radix Sort
# Selection sort
Consider a Bubblesort, where adjacent records are swapped in order to get them into the right order, so that records appear to “bubble” up and down through the dataspace. If this has to be done in chunks, then when we have sorted all the records in chunk 1, we move on to chunk 2, but we find that some of the records in chunk 1 need to “bubble through” chunk 2, and vice versa (i.e., there are records in chunk 2 that belong in chunk 1, and records in chunk 1 that belong in chunk 2 or later chunks). This will cause the chunks to be read and written back to disk many times as records cross over the boundaries between them, resulting in a considerable degradation of performance. If the data can all be held in memory as one large chunk, then this performance hit is avoided.
On the other hand, some algorithms handle external sorting rather better. A Merge sort breaks the data up into chunks, sorts the chunks by some other algorithm (maybe bubblesort or Quick sort) and then recombines the chunks two by two so that each recombined chunk is in order. This approach minimises the number or reads and writes of data-chunks from disk, and is a popular external sort method.


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Internal sort」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.